package caiziyou.com.caiziyou;

public class PrintThread extends Thread  {

	private String message;
	
	public PrintThread(String message) {
		super();
		this.message = message;
	}

	@Override
	public void run() {
		for (int i = 0; i < 10000; i++) {
			if(i%100==0) {
				System.out.println();
			}
			System.out.print(this.message);
		}
	}
}
